package com.czk.model.iterator.practice2;

import java.util.Iterator;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/2/1 22:29
 */
public class Client {
    public static void main(String[] args) {
        String[] str=new String[5];
        Benz benz=new Benz(str);
        Iterator iterator = benz.iterator();
        while (iterator.hasNext()){
            System.out.println(iterator.next());
        }
    }
}
